package com.deep.deepenterpise.model.to.gas;

import lombok.Data;

import javax.validation.constraints.Max;
import javax.validation.constraints.Min;
import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;

/**
 * @author xyz
 * @version 1.0
 * @title DrAddClienteleTo
 * @description
 * @create 2024/4/25 11:30
 */
@Data
public class DrAddClienteleTo {
    @NotBlank(message = "客户姓名不能为空")
    private String drClienteleName;

    @NotNull(message = "客户类型不能为空")
    @Max(value = 99, message = "客户类型错误")
    @Min(value = 1, message = "客户类型错误")
    private Integer drClienteleType;

    @NotBlank(message = "身份证号不能为空")
    private String drIdentCardNum;

    @NotBlank(message = "联系人电话不能为空")
    private String drPhone;

    @NotBlank(message = "区县编号不能为空")
    private String drAreaCode;

    @NotBlank(message = "区县名称不能为空")
    private String drAreaName;

    @NotBlank(message = "详细地址不能为空")
    private String drAddress;

    @NotNull(message = "客户状态不能为空")
    private Integer drState;

    private Long drCreateTime;
}
